Optimal. Leaf size=41 \[ -\frac {c \cos (e+f x)}{f (a+a \sin (e+f x))^{3/2} \sqrt {c-c \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {2817}
\begin {gather*} -\frac {c \cos (e+f x)}{f (a \sin (e+f x)+a)^{3/2} \sqrt {c-c \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2817
Rubi steps
\begin {align*} \int \frac {\sqrt {c-c \sin (e+f x)}}{(a+a \sin (e+f x))^{3/2}} \, dx &=-\frac {c \cos (e+f x)}{f (a+a \sin (e+f x))^{3/2} \sqrt {c-c \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(85\) vs. \(2(41)=82\).
time = 0.13, size = 85, normalized size = 2.07 \begin {gather*} -\frac {\sqrt {a (1+\sin (e+f x))} \sqrt {c-c \sin (e+f x)}}{a^2 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 18.19, size = 69, normalized size = 1.68
method | result | size |
default | \(-\frac {\sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, \sin \left (f x +e \right ) \left (-1+\cos \left (f x +e \right )-\sin \left (f x +e \right )\right )}{f \left (-1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {3}{2}}}\) | \(69\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 63, normalized size = 1.54 \begin {gather*} -\frac {\sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{a^{2} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) + a^{2} f \cos \left (f x + e\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- c \left (\sin {\left (e + f x \right )} - 1\right )}}{\left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 56, normalized size = 1.37 \begin {gather*} \frac {\sqrt {c} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{2 \, a^{\frac {3}{2}} f \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 7.52, size = 52, normalized size = 1.27 \begin {gather*} -\frac {2\,\cos \left (e+f\,x\right )\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}}{a\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________